package com.zs.toolbox.web2j.system.message.domain.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author shuai.zhang  on 2018/10/8
 * @description
 */
@ApiModel("上传文件返回结果")
@Data
public class WtUploadFileResponse {
    @ApiModelProperty(value = "存储文件的相对路径,用于存储数据库",example = "/sss/eee/1.jpg")
    String relativeFileName;

    @ApiModelProperty(value = "存储文件的访问地址,只建议使用此地址进行预览操作",example = "/sss/eee/1.jpg")
    String previewFileName;

    public WtUploadFileResponse() {

    }

    public WtUploadFileResponse(String relativeFileName, String previewFileName) {
        this.relativeFileName = relativeFileName;
        this.previewFileName = previewFileName;
    }
}
